package com.jihui.user.model;

import java.io.Serializable;

/**
 * Created by wangjin on 2017/5/19.
 */
public class JihuiUser implements Serializable {
    public Long id;
    private String name;

    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    private boolean enabled;
    private String authoritiesText;
    private String headImg;
    private String displayName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isEnabled() {
        //return enabled;
        return true;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public String getAuthoritiesText() {
        //return authoritiesText;
        return "seller";
    }
    public void setAuthoritiesText(String authoritiesText) {
        this.authoritiesText = authoritiesText;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }
}
